using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._3DAnalystTools._3DFeatures._Extraction
{
    /// <summary>
    /// <para>Extract Multipatch From Mesh</para>
    /// <para>Creates a multipatch feature from the portion of an integrated mesh that overlaps a polygon.</para>
    /// <para>从与面重叠的集成网格部分创建多面体要素。</para>
    /// </summary>    
    [DisplayName("Extract Multipatch From Mesh")]
    public class ExtractMultipatchFromMesh : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public ExtractMultipatchFromMesh()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_source_mesh">
        /// <para>Source Integrated Mesh</para>
        /// <para>The integrated mesh that will be processed.</para>
        /// <para>将要处理的集成网格。</para>
        /// </param>
        /// <param name="_footprint_features">
        /// <para>Footprint Features</para>
        /// <para>The polygon features defining the area that will be clipped.</para>
        /// <para>面要素定义要裁剪的区域。</para>
        /// </param>
        /// <param name="_out_feature_class">
        /// <para>Output Multipatch Feature Class</para>
        /// <para>The multipatch feature class that will be produced by this tool.</para>
        /// <para>此工具将生成的多面体要素类。</para>
        /// </param>
        public ExtractMultipatchFromMesh(object _source_mesh, object _footprint_features, object _out_feature_class)
        {
            this._source_mesh = _source_mesh;
            this._footprint_features = _footprint_features;
            this._out_feature_class = _out_feature_class;
        }
        public override string ToolboxName => "3D Analyst Tools";

        public override string ToolName => "Extract Multipatch From Mesh";

        public override string CallName => "3d.ExtractMultipatchFromMesh";

        public override List<string> AcceptEnvironments => ["extent", "geographicTransformations", "outputCoordinateSystem"];

        public override object[] ParameterInfo => [_source_mesh, _footprint_features, _out_feature_class];

        /// <summary>
        /// <para>Source Integrated Mesh</para>
        /// <para>The integrated mesh that will be processed.</para>
        /// <para>将要处理的集成网格。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Source Integrated Mesh")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _source_mesh { get; set; }


        /// <summary>
        /// <para>Footprint Features</para>
        /// <para>The polygon features defining the area that will be clipped.</para>
        /// <para>面要素定义要裁剪的区域。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Footprint Features")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _footprint_features { get; set; }


        /// <summary>
        /// <para>Output Multipatch Feature Class</para>
        /// <para>The multipatch feature class that will be produced by this tool.</para>
        /// <para>此工具将生成的多面体要素类。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Multipatch Feature Class")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _out_feature_class { get; set; }


        public ExtractMultipatchFromMesh SetEnv(object extent = null, object geographicTransformations = null, object outputCoordinateSystem = null)
        {
            base.SetEnv(extent: extent, geographicTransformations: geographicTransformations, outputCoordinateSystem: outputCoordinateSystem);
            return this;
        }

    }

}